package com.buddy.rpc.comsumer;

import com.buddy.rpc.api.HelloService;
import com.buddy.rpc.sdk.framework.ProxyFactory;

/**
 * @author buddy
 * @date 2021/12/21
 */
public class Consumer {

    public static void main(String[] args) {
        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.hello("this is buddy");
        System.out.println(result);
    }
}
